home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- FOR %%v IN (a: b: A: B:) DO IF %1==%%v GOTO OK
- ECHO You can only format drives A: and B: with this batch file.
- GOTO End
- :Ok
- ECHO If you get an "Abort, Retry, Ignore" message, the disk is
- ECHO not already formatted. Select A for Abort and continue.
- DIR %1
- ECHO If a directory appeared press CTRL-C now.
- PAUSE
- REM Assumes FORMAT.COM has been renamed "X123LUL0.COM".
- X123LUL0.COM %1
- LABEL %1
- :End
-